@charset "UTF-8";

body {
	margin: 0;
	padding: 0;
	text-align: center; /*先设置此样式（条件），再对要居中的做CSS样式：margin: 0 auto;*/
}

#bottom {
	width: 100%;
	margin: 0 auto;
	background-color: #cccccc;
	font-weight: lighter;
	position:fixed;
    bottom:0;
    left:0;
}

#bottom .text {
	display: inline-block;
}

#nav {
	overflow: hidden;
	margin: 0 auto;
	border-top: 3px solid #cb0d0d;
	position: relative;
	background: #fff;
	border-bottom: 1px solid #d9d9d9;
	box-shadow: 0px 2px #f3f3f3;
	height: 43px;
}

#nav ul li {
	float: left;
	list-style: none;
}

#nav ul a {
	text-decoration: none;
	color: black;
	display: inline-block;
	line-height: 43px;
	margin-left: 0;
	width: 260px;
	font-size: 25px;
}

#nav ul {
	margin: 0;
	padding: 0;
}

#nav .navblock {
	margin: 0 auto; /*text-align: center;是必要条件*/
	display: inline-block; /*注意 block 是不可以居中的，它占据了整行！！！*/
	overflow: hidden; /*当给div设置背景颜色失败时，要考虑overflow*/
}

#nav .detail {
	background-color: #dc0000;
	color: white;
	border: 1px solid #dc0000;
	border-width: 0 1px;
}

#nav ul a:hover {
	background-color: #dc0000;
	color: white;
	border: 1px solid #dc0000;
	border-width: 0 1px;
}

#head {
	margin: 0 auto;
	display: inline-block;
	overflow: hidden;
	margin: 0;
	padding: 0;
	text-align: center;
}

#head .logo {
	float: left;
	width: 70px;
	text-align: left;
}

#head .title {
	display: inline-block;
	width: 660px;
	text-align: left;
	font-family: 楷体;
	font-size: 35px;
	line-height: 50px;
	font-weight: 500;
}

#login {
	width: 25%;
	margin: 0 auto;
}

#login a {
	text-decoration: none;
	color: black;
}

#login a:hover {
	color: #fff;
	font-size: 30px;
}

#login .addnews {
	height: 80px;
	background-color: #00ff99;
	font-size: 25px;
	font-weight: normal;
	border-radius: 10px;
	line-height: 80px;
	margin: 20px 0 20px 0;
}

#login .deletenews {
	height: 80px;
	background-color: #ff0066;
	font-size: 25px;
	font-weight: normal;
	border-radius: 10px;
	line-height: 80px;
	margin: 20px 0 20px 0;
}

#login .updatenews {
	height: 80px;
	background-color: #40E0D0;
	font-size: 25px;
	font-weight: normal;
	border-radius: 10px;
	line-height: 80px;
	margin: 20px 0 20px 0;
}

#login .updatepwd {
	height: 80px;
	background-color: #3366cc;
	font-size: 25px;
	font-weight: normal;
	border-radius: 10px;
	line-height: 80px;
	margin: 20px 0 20px 0;
}

#login .backhome {
	height: 80px;
	background-color: #e69138;
	font-size: 25px;
	font-weight: normal;
	border-radius: 10px;
	line-height: 80px;
	margin: 20px 0 20px 0;
}

#login .addnews:hover {
	box-shadow: 0 2px 11px 3px #888888;
	cursor: pointer;
}

#login .deletenews:hover {
	box-shadow: 0 2px 11px 3px #888888;
	cursor: pointer;
}

#login .updatenews:hover {
	box-shadow: 0 2px 11px 3px #888888;
	cursor: pointer;
}

#login .backhome:hover {
	box-shadow: 0 2px 11px 3px #888888;
	cursor: pointer;
}